﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LANDIS_II_Debug_Console
{
    class ConiferousOrDeciduous
    {
        static string Get(string species)
        {
            string Coniferous = "Coniferous";
            string Deciduous = "Deciduous";

            if (species == "acersacc") return Deciduous;
            else if (species == "abiebals") return Deciduous;
            else if (species == "acerrubr") return Deciduous;
            else if (species == "caryglab") return Deciduous;
            else if (species == "castdent") return Deciduous;
            else if (species == "fraxamer") return Deciduous;
            else if (species == "juglnigr") return Deciduous;
            else if (species == "lirituli") return Deciduous;
            else if (species == "magnacum") return Deciduous;
            else if (species == "nysssylv") return Deciduous;
            else if (species == "piceglau") return Coniferous;
            else if (species == "pinuechi") return Coniferous;
            else if (species == "pinupung") return Coniferous;
            else if (species == "pinuresi") return Coniferous;
            else if (species == "pinurigi") return Coniferous;
            else if (species == "pinustro") return Coniferous;
            else if (species == "pinutaed") return Coniferous;
            else if (species == "pinuvirg") return Coniferous;
            else if (species == "poputrem") return Deciduous;
            else if (species == "prunsero") return Deciduous;
            else if (species == "queralba") return Deciduous;
            else if (species == "quercocc") return Deciduous;
            else if (species == "querprin") return Deciduous;
            else if (species == "quervelu") return Deciduous;
            else if (species == "querrubr") return Deciduous;
            else if (species == "robipseu") return Deciduous;
            else if (species == "poputrem") return Deciduous;
            else if (species == "sassalbi") return Deciduous;
            else if (species == "tiliamer") return Deciduous;
            else if (species == "tsugcana") return Coniferous;
            else if (species == "ulmuamer") return Deciduous;

            else throw new System.Exception("Cannot find ShadeTolerantRank for " + species);

        }
    }
}
